<div class="wrap">
    <div class="post-topheader">
        <div class="container">
            <div class="row">
                <div class="col-md-9 col-sm-8 col-xs-12">
                    <span class="post-topheader__title--icon-symbol">
                        问
                    </span>
                    <div class="post-topheader__info">
                        <h1 class="h3 post-topheader__info--title" id="questionTitle" data-id="1010000005841516">
                            <a href="">
                               <?php echo $question['title'] ?>
                            </a>
                        </h1>
                        <ul class="taglist--inline inline-block question__title--tag mr10">

                        <?php foreach ($category as  $v) { ?>
                            <li class="tagPopup mb5">
                                <a class="tag" href="{:U('Index/category/index',array('id'=>$v['id']))}" data-toggle="popover" 
                                data-placement="top" data-original-title="git" >
                                    <?php echo $v['cname'] ?>
                                </a>
                            </li>
                        <?php } ?>
                            
                        </ul>
                        <div class="question__author">
                            <a href="/u/jiafeix" class="mr5">
                                <strong>
                                    <?php echo $question['username'] ?>
                                </strong>
                            </a>
                            <?php echo $question['create_time'] ?> 提问
                            <span class="hidden-xs">
                            </span>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 col-sm-4 col-xs-12 hidden-xs">
                    <ul class="post-topheader__side list-unstyled">
                        <li>
                            <button type="button" id="sideFollow" class="btn btn-success btn-sm" data-id="1010000005841516"
                            data-do="follow" data-type="question" data-toggle="tooltip" data-placement="right"
                            title="" data-original-title="关注后将获得更新提醒">
                                关注
                            </button>
                            <strong>
                                <?php echo $question['focus_num'] ?>
                            </strong>
                            关注
                        </li>
                        <li>
                            <button type="button" id="sideBookmark" class="btn btn-default btn-sm"
                            data-id="1010000005841516" data-type="question">
                                收藏
                            </button>
                            <strong id="sideBookmarked">
                                <?php echo $question['fav_num'] ?>
                            </strong>
                            收藏，
                            <strong class="no-stress">
                                <?php echo $question['view'] ?>
                            </strong>
                            浏览
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- end .post-topheader -->
    <div class="container mt30">
        <div class="row">
            <div class="col-xs-12 col-md-9 main">
                <article class="widget-question__item">
                    <div class="post-col">
                        <div class="widget-vote">
                            <button type="button" class="like" data-id="1010000005841516" data-type="question"
                            data-do="like" data-toggle="tooltip" data-placement="top" title="" data-original-title="问题对人有帮助，内容完整，我也想知道答案">
                                <span class="sr-only">
                                    问题对人有帮助，内容完整，我也想知道答案
                                </span>
                            </button>
                            <span class="count">
                                0
                            </span>
                            <button type="button" class="hate" data-id="1010000005841516" data-type="question"
                            data-do="hate" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="问题没有实际价值，缺少关键内容，没有改进余地">
                                <span class="sr-only">
                                    问题没有实际价值，缺少关键内容，没有改进余地
                                </span>
                            </button>
                        </div>
                        <!-- end .widget-vote -->
                    </div>
                    <div class="post-offset">
                        <div class="question fmt" data-id="1010000005841516">
                            <?php echo $question['content'] ?>
                        </div>
                        <div class="row">
                            <div class="post-opt col-md-8">
                                <ul class="list-inline mb0">
                                    <li>
                                        <a href="/q/1010000005841516">
                                            17 小时前提问
                                        </a>
                                    </li>
                                    <li>
                                        <a href="javascript:void(0);" class="comments" data-id="1010000005841516"
                                        data-target="#comment-1010000005841516">
                                            评论
                                        </a>
                                    </li>
                                    <li class="edit-btn" data-original-title="" title="">
                                        <a class="inviteBtn" href="javascript:;" data-title="Git 想要忽略文件夹，但不忽略某个文件，设置规则无效，请问怎么回事"
                                        data-url="http://sfau.lt/bNyFOa" data-id="1010000005841516">
                                            邀请回答
                                        </a>
                                    </li>
                                    <li class="dropdown">
                                        <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                                            更多
                                            <b class="caret">
                                            </b>
                                        </a>
                                        <ul class="dropdown-menu dropdown-menu-left">
                                            <li>
                                                <a href="#911" data-id="1010000005841516" data-toggle="modal" data-target="#911"
                                                data-type="question" data-typetext="问题">
                                                    举报
                                                </a>
                                            </li>
                                            <li>
                                                <a href="javascript:void(0);" data-id="1010000005841516" data-do="close"
                                                data-type="question" id="questionClose">
                                                    关闭
                                                </a>
                                            </li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="widget-comments hidden" id="comment-1010000005841516" data-id="1010000005841516">
                            <div class="widget-comments__form row">
                                <form class="clearfix" method="POST">
                                    <div class="form-group mb0 widget-comments__form--input">
                                        <input name="id" type="hidden" value="1010000005841516">
                                        <textarea rows="1" name="text" class="form-control mono" id="commentText-1010000005841516"
                                        data-id="1010000005841516" placeholder="使用评论询问更多信息或提出修改意见，请不要在评论里回答问题">
                                        </textarea>
                                    </div>
                                    <div class="widget-comments__btn">
                                        <div class="pull-right">
                                            <button type="submit" class="btn btn-default postComment" data-id="1010000005841516">
                                                提交评论
                                            </button>
                                            <span class="widget-comments__btn--tips">
                                                <a href="javascript:void(0);" class="toggle-comment-helper" title="语法提示">
                                                    <i class="fa fa-question-circle">
                                                    </i>
                                                </a>
                                            </span>
                                        </div>
                                    </div>
                                </form>
                                <div class="col-md-12">
                                    <div class="alert alert-warning alert-dismissible mb0 mt10 fmt comment-helper"
                                    data-rank="0" style="display:none;" role="alert">
                                        <button type="button" class="close" data-dismiss="alert" aria-label="Close"
                                        style="right:0;">
                                            <span aria-hidden="true">
                                                ×
                                            </span>
                                        </button>
                                        评论支持部分 Markdown 语法：
                                        <code>
                                            **bold**
                                        </code>
                                        <code>
                                            _italic_
                                        </code>
                                        <code>
                                            [link](http://example.com)
                                        </code>
                                        <code>
                                            &gt; 引用
                                        </code>
                                        <code>
                                            `code`
                                        </code>
                                        <code>
                                            - 列表
                                        </code>
                                        。
                                        <br>
                                        同时，被你 @ 的用户也会收到通知
                                    </div>
                                </div>
                            </div>
                            <!-- /.widget-comments__form -->
                        </div>
                        <!-- /.widget-comments -->
                    </div>
                    <!-- end .post-offset -->
                </article>
                <div class="widget-answers">
                    <div class="btn-group pull-right" role="group">
                        <a href="/q/1010000005841516#answers-title" id="sortby-rank" class="btn btn-default btn-xs active">
                            默认排序
                        </a>
                        <a href="?sort=created#answers-title" id="sortby-created" class="btn btn-default btn-xs">
                            时间排序
                        </a>
                    </div>
                    <h2 class="title h4 mt30 mb20 post-title" id="answers-title">
                        3 个回答
                    </h2>
                    <div>
                    </div>
                    <article class="clearfix widget-answers__item" id="a-1020000005841621">
                        <div class="post-col">
                            <div class="widget-vote">
                                <button type="button" class="like" data-id="1020000005841621" data-type="answer"
                                data-do="like" data-toggle="tooltip" data-placement="top" title="" data-original-title="答案对人有帮助，有参考价值">
                                    <span class="sr-only">
                                        答案对人有帮助，有参考价值
                                    </span>
                                </button>
                                <span class="count">
                                    1
                                </span>
                                <button type="button" class="hate" data-id="1020000005841621" data-type="answer"
                                data-do="hate" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="答案没帮助，是错误的答案，答非所问">
                                    <span class="sr-only">
                                        答案没帮助，是错误的答案，答非所问
                                    </span>
                                </button>
                            </div>
                        </div>
                        <div class="post-offset">
                            <div class="answer fmt" data-id="1020000005841621">
                                <pre class="hljs nginx">
                                    <div class="widget-codetool" style="display:none;">
                                        <button class="selectCode btn btn-xs">
                                            全选
                                        </button>
                                        <button href="javascript:void(0);" class="copyCode btn btn-xs" data-clipboard-text="upload
                                        !upload/index.html" data-toggle="tooltip" data-placement="bottom" title="">
                                            复制
                                        </button>
                                        <button href="javascript:void(0);" class="saveToNote btn btn-xs">
                                            放进笔记
                                        </button>
                                    </div>
                                    <code>
                                        <span class="hljs-title">
                                            upload
                                        </span>
                                        !upload/index.html
                                    </code>
                                </pre>
                            </div>
                            <div class="row answer__info--row">
                                <div class="post-opt col-md-8 col-sm-8 col-xs-10">
                                    <ul class="list-inline mb0">
                                        <li>
                                            <a href="/q/1010000005841516/a-1020000005841621">
                                                17 小时前回答
                                            </a>
                                            <span class="text-muted">
                                            </span>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" class="comments" data-id="1020000005841621"
                                            data-target="#comment-1020000005841621">
                                                评论
                                            </a>
                                        </li>
                                        <li class="dropdown">
                                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                                                更多
                                                <b class="caret">
                                                </b>
                                            </a>
                                            <ul class="dropdown-menu dropdown-menu-left">
                                                <li>
                                                    <a href="#911" data-id="1020000005841621" data-toggle="modal" data-target="#911"
                                                    data-type="answer" data-typetext="答案">
                                                        举报
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                                <div class="col-md-2 col-sm-2 col-xs-2 answer__info--author-avatar">
                                    <a class="mr10" href="/u/mycharles">
                                        <img class="avatar-32" src="https://sfault-avatar.b0.upaiyun.com/226/599/2265993573-552e4e5ccabfc_big64"
                                        alt="">
                                    </a>
                                </div>
                                <div class="col-md-2 col-sm-2 hidden-xs answer__info--author">
                                    <div class=" answer__info--author-warp">
                                        <a class="answer__info--author-name" title="查尔斯" href="/u/mycharles">
                                            查尔斯
                                        </a>
                                        <span class="answer__info--author-rank">
                                            4.2k 声望
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="widget-comments hidden" id="comment-1020000005841621" data-id="1020000005841621">
                                <div class="widget-comments__form row">
                                    <form class="clearfix" method="POST">
                                        <div class="form-group mb0 widget-comments__form--input">
                                            <input name="id" type="hidden" value="1020000005841621">
                                            <textarea rows="1" name="text" class="form-control mono" id="commentText-1020000005841621"
                                            data-id="1020000005841621" placeholder="使用评论询问更多信息或提出修改意见，请不要在评论里回答问题">
                                            </textarea>
                                        </div>
                                        <div class="widget-comments__btn">
                                            <div class="pull-right">
                                                <button type="submit" class="btn btn-default postComment" data-id="1020000005841621">
                                                    提交评论
                                                </button>
                                                <span class="widget-comments__btn--tips">
                                                    <a href="javascript:void(0);" class="toggle-comment-helper" title="语法提示">
                                                        <i class="fa fa-question-circle">
                                                        </i>
                                                    </a>
                                                </span>
                                            </div>
                                        </div>
                                    </form>
                                    <div class="col-md-12">
                                        <div class="alert alert-warning alert-dismissible mb0 mt10 fmt comment-helper"
                                        data-rank="0" style="display:none;" role="alert">
                                            <button type="button" class="close" data-dismiss="alert" aria-label="Close"
                                            style="right:0;">
                                                <span aria-hidden="true">
                                                    ×
                                                </span>
                                            </button>
                                            评论支持部分 Markdown 语法：
                                            <code>
                                                **bold**
                                            </code>
                                            <code>
                                                _italic_
                                            </code>
                                            <code>
                                                [link](http://example.com)
                                            </code>
                                            <code>
                                                &gt; 引用
                                            </code>
                                            <code>
                                                `code`
                                            </code>
                                            <code>
                                                - 列表
                                            </code>
                                            。
                                            <br>
                                            同时，被你 @ 的用户也会收到通知
                                        </div>
                                    </div>
                                </div>
                                <!-- /.widget-comments__form -->
                            </div>
                            <!-- /.widget-comments -->
                        </div>
                    </article>
                    <!-- /article -->
                    <article class="clearfix widget-answers__item" id="a-1020000005841639">
                        <div class="post-col">
                            <div class="widget-vote">
                                <button type="button" class="like" data-id="1020000005841639" data-type="answer"
                                data-do="like" data-toggle="tooltip" data-placement="top" title="" data-original-title="答案对人有帮助，有参考价值">
                                    <span class="sr-only">
                                        答案对人有帮助，有参考价值
                                    </span>
                                </button>
                                <span class="count">
                                    1
                                </span>
                                <button type="button" class="hate" data-id="1020000005841639" data-type="answer"
                                data-do="hate" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="答案没帮助，是错误的答案，答非所问">
                                    <span class="sr-only">
                                        答案没帮助，是错误的答案，答非所问
                                    </span>
                                </button>
                            </div>
                        </div>
                        <div class="post-offset">
                            <div class="answer fmt" data-id="1020000005841639">
                                <p>
                                    在upload文件夹下新建.gitignore，内容如下:
                                </p>
                                <pre class="hljs diff">
                                    <div class="widget-codetool" style="display:none;">
                                        <button class="selectCode btn btn-xs">
                                            全选
                                        </button>
                                        <button href="javascript:void(0);" class="copyCode btn btn-xs" data-clipboard-text="*
                                        !.gitignore
                                        !index.html" data-toggle="tooltip" data-placement="bottom" title="">
                                            复制
                                        </button>
                                        <button href="javascript:void(0);" class="saveToNote btn btn-xs">
                                            放进笔记
                                        </button>
                                    </div>
                                    <code>
                                        *
                                        <span class="hljs-change">
                                            !.gitignore
                                        </span>
                                        <span class="hljs-change">
                                            !index.html
                                        </span>
                                    </code>
                                </pre>
                            </div>
                            <div class="row answer__info--row">
                                <div class="post-opt col-md-8 col-sm-8 col-xs-10">
                                    <ul class="list-inline mb0">
                                        <li>
                                            <a href="/q/1010000005841516/a-1020000005841639">
                                                17 小时前回答
                                            </a>
                                            <span class="text-muted">
                                                ·
                                                <a href="/q/1010000005841516/a-1020000005841639/revision">
                                                    17 小时前更新
                                                </a>
                                            </span>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" class="comments" data-id="1020000005841639"
                                            data-target="#comment-1020000005841639">
                                                评论
                                            </a>
                                        </li>
                                        <li class="dropdown">
                                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                                                更多
                                                <b class="caret">
                                                </b>
                                            </a>
                                            <ul class="dropdown-menu dropdown-menu-left">
                                                <li>
                                                    <a href="#911" data-id="1020000005841639" data-toggle="modal" data-target="#911"
                                                    data-type="answer" data-typetext="答案">
                                                        举报
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                                <div class="col-md-2 col-sm-2 col-xs-2 answer__info--author-avatar">
                                    <a class="mr10" href="/u/shiqihaod">
                                        <img class="avatar-32" src="https://sf-static.b0.upaiyun.com/v-5773827a/global/img/user-64.png"
                                        alt="">
                                    </a>
                                </div>
                                <div class="col-md-2 col-sm-2 hidden-xs answer__info--author">
                                    <div class=" answer__info--author-warp">
                                        <a class="answer__info--author-name" title="十七号d" href="/u/shiqihaod">
                                            十七号d
                                        </a>
                                        <span class="answer__info--author-rank">
                                            261 声望
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="widget-comments hidden" id="comment-1020000005841639" data-id="1020000005841639">
                                <div class="widget-comments__form row">
                                    <form class="clearfix" method="POST">
                                        <div class="form-group mb0 widget-comments__form--input">
                                            <input name="id" type="hidden" value="1020000005841639">
                                            <textarea rows="1" name="text" class="form-control mono" id="commentText-1020000005841639"
                                            data-id="1020000005841639" placeholder="使用评论询问更多信息或提出修改意见，请不要在评论里回答问题">
                                            </textarea>
                                        </div>
                                        <div class="widget-comments__btn">
                                            <div class="pull-right">
                                                <button type="submit" class="btn btn-default postComment" data-id="1020000005841639">
                                                    提交评论
                                                </button>
                                                <span class="widget-comments__btn--tips">
                                                    <a href="javascript:void(0);" class="toggle-comment-helper" title="语法提示">
                                                        <i class="fa fa-question-circle">
                                                        </i>
                                                    </a>
                                                </span>
                                            </div>
                                        </div>
                                    </form>
                                    <div class="col-md-12">
                                        <div class="alert alert-warning alert-dismissible mb0 mt10 fmt comment-helper"
                                        data-rank="0" style="display:none;" role="alert">
                                            <button type="button" class="close" data-dismiss="alert" aria-label="Close"
                                            style="right:0;">
                                                <span aria-hidden="true">
                                                    ×
                                                </span>
                                            </button>
                                            评论支持部分 Markdown 语法：
                                            <code>
                                                **bold**
                                            </code>
                                            <code>
                                                _italic_
                                            </code>
                                            <code>
                                                [link](http://example.com)
                                            </code>
                                            <code>
                                                &gt; 引用
                                            </code>
                                            <code>
                                                `code`
                                            </code>
                                            <code>
                                                - 列表
                                            </code>
                                            。
                                            <br>
                                            同时，被你 @ 的用户也会收到通知
                                        </div>
                                    </div>
                                </div>
                                <!-- /.widget-comments__form -->
                            </div>
                            <!-- /.widget-comments -->
                        </div>
                    </article>
                    <!-- /article -->
                    <article class="clearfix widget-answers__item" id="a-1020000005846368">
                        <div class="post-col">
                            <div class="widget-vote">
                                <button type="button" class="like" data-id="1020000005846368" data-type="answer"
                                data-do="like" data-toggle="tooltip" data-placement="top" title="" data-original-title="答案对人有帮助，有参考价值">
                                    <span class="sr-only">
                                        答案对人有帮助，有参考价值
                                    </span>
                                </button>
                                <span class="count">
                                    0
                                </span>
                                <button type="button" class="hate" data-id="1020000005846368" data-type="answer"
                                data-do="hate" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="答案没帮助，是错误的答案，答非所问">
                                    <span class="sr-only">
                                        答案没帮助，是错误的答案，答非所问
                                    </span>
                                </button>
                            </div>
                        </div>
                        <div class="post-offset">
                            <div class="answer fmt" data-id="1020000005846368">
                                <h3>
                                    2楼是正确的， 你要是不想再
                                    <code>
                                        upload
                                    </code>
                                    文件夹下新增
                                    <code>
                                        .gitignore
                                    </code>
                                    ， 你可以把你的代码
                                </h3>
                                <pre>
                                    <div class="widget-codetool" style="display:none;">
                                        <button class="selectCode btn btn-xs">
                                            全选
                                        </button>
                                        <button href="javascript:void(0);" class="copyCode btn btn-xs" data-clipboard-text="uploads/*
                                        uploads/!index.html
                                        " data-toggle="tooltip" data-placement="bottom" title="">
                                            复制
                                        </button>
                                        <button href="javascript:void(0);" class="saveToNote btn btn-xs">
                                            放进笔记
                                        </button>
                                    </div>
                                    <code class="bash">
                                        uploads/* uploads/!index.html
                                    </code>
                                </pre>
                                <p>
                                    交换下位置， 因为你的这个规则为
                                </p>
                                <blockquote>
                                    <p>
                                        忽滤
                                        <code>
                                            upload
                                        </code>
                                        文件夹下的所有文件， 然后你再不让其忽滤
                                        <code>
                                            index.html
                                        </code>
                                        ， 所有文件都被忽滤了，当然index.html就不存在了
                                    </p>
                                </blockquote>
                            </div>
                            <div class="row answer__info--row">
                                <div class="post-opt col-md-8 col-sm-8 col-xs-10">
                                    <ul class="list-inline mb0">
                                        <li>
                                            <a href="/q/1010000005841516/a-1020000005846368">
                                                8 分钟前回答
                                            </a>
                                            <span class="text-muted">
                                                ·
                                                <a href="/q/1010000005841516/a-1020000005846368/revision">
                                                    7 分钟前更新
                                                </a>
                                            </span>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" class="comments" data-id="1020000005846368"
                                            data-target="#comment-1020000005846368">
                                                评论
                                            </a>
                                        </li>
                                        <li class="dropdown">
                                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                                                更多
                                                <b class="caret">
                                                </b>
                                            </a>
                                            <ul class="dropdown-menu dropdown-menu-left">
                                                <li>
                                                    <a href="#911" data-id="1020000005846368" data-toggle="modal" data-target="#911"
                                                    data-type="answer" data-typetext="答案">
                                                        举报
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                                <div class="col-md-2 col-sm-2 col-xs-2 answer__info--author-avatar">
                                    <a class="mr10" href="/u/godruoyi">
                                        <img class="avatar-32" src="https://sfault-avatar.b0.upaiyun.com/893/143/89314358-576e8b7b1864a_big64"
                                        alt="">
                                    </a>
                                </div>
                                <div class="col-md-2 col-sm-2 hidden-xs answer__info--author">
                                    <div class=" answer__info--author-warp">
                                        <a class="answer__info--author-name" title="godruoyi" href="/u/godruoyi">
                                            godruoyi
                                        </a>
                                        <span class="answer__info--author-rank">
                                            82 声望
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="widget-comments hidden" id="comment-1020000005846368" data-id="1020000005846368">
                                <div class="widget-comments__form row">
                                    <form class="clearfix" method="POST">
                                        <div class="form-group mb0 widget-comments__form--input">
                                            <input name="id" type="hidden" value="1020000005846368">
                                            <textarea rows="1" name="text" class="form-control mono" id="commentText-1020000005846368"
                                            data-id="1020000005846368" placeholder="使用评论询问更多信息或提出修改意见，请不要在评论里回答问题">
                                            </textarea>
                                        </div>
                                        <div class="widget-comments__btn">
                                            <div class="pull-right">
                                                <button type="submit" class="btn btn-default postComment" data-id="1020000005846368">
                                                    提交评论
                                                </button>
                                                <span class="widget-comments__btn--tips">
                                                    <a href="javascript:void(0);" class="toggle-comment-helper" title="语法提示">
                                                        <i class="fa fa-question-circle">
                                                        </i>
                                                    </a>
                                                </span>
                                            </div>
                                        </div>
                                    </form>
                                    <div class="col-md-12">
                                        <div class="alert alert-warning alert-dismissible mb0 mt10 fmt comment-helper"
                                        data-rank="0" style="display:none;" role="alert">
                                            <button type="button" class="close" data-dismiss="alert" aria-label="Close"
                                            style="right:0;">
                                                <span aria-hidden="true">
                                                    ×
                                                </span>
                                            </button>
                                            评论支持部分 Markdown 语法：
                                            <code>
                                                **bold**
                                            </code>
                                            <code>
                                                _italic_
                                            </code>
                                            <code>
                                                [link](http://example.com)
                                            </code>
                                            <code>
                                                &gt; 引用
                                            </code>
                                            <code>
                                                `code`
                                            </code>
                                            <code>
                                                - 列表
                                            </code>
                                            。
                                            <br>
                                            同时，被你 @ 的用户也会收到通知
                                        </div>
                                    </div>
                                </div>
                                <!-- /.widget-comments__form -->
                            </div>
                            <!-- /.widget-comments -->
                        </div>
                    </article>
                    <!-- /article -->
                    <div class="text-center">
                    </div>
                </div>
                <!-- /.widget-answers -->
                <div style="padding-left: 65px;">
                    <h4>
                        撰写答案
                    </h4>
                    <input type="hidden" id="draftId" value="">
                    <input type="hidden" value="1010000005841516" id="questionId">
                    <form action="/question/1010000005841516/answers/add" method="post" class="editor-wrap">
                        <div class="editor" id="questionText">
                            <textarea id="answerEditor" name="text" class="form-control" rows="4"
                            placeholder="撰写答案...">
                            </textarea>
                        </div>
                        <div id="answerSubmit" class="hide mt15 clearfix">
                            <div class="checkbox pull-left">
                                <label>
                                    <input type="checkbox" class="" id="shareToWeibo">
                                    同步到新浪微博
                                </label>
                            </div>
                            <div class="pull-right">
                                <span id="editorStatus" class="hidden text-muted">
                                </span>
                                <a id="dropIt" href="javascript:void(0);" class="mr10 hidden">
                                    [舍弃]
                                </a>
                                <button type="submit" id="answerIt" data-id="1010000005841516" class="btn btn-lg btn-primary ml20">
                                    提交回答
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="widget-invite mt30">
                    <p>
                        <span class="text-muted">
                            不知道答案？你还可以
                        </span>
                        <a href="#" class="btn btn-default btn-sm inviteBtn ml5" data-title="Git 想要忽略文件夹，但不忽略某个文件，设置规则无效，请问怎么回事"
                        data-url="http://sfau.lt/bNyFOa" data-id="1010000005841516">
                            邀请回答
                        </a>
                        <a class="qa-detail__invent-switch pull-right" href="javascript:;">
                            <i class="fa fa-refresh">
                            </i>
                            换一组
                        </a>
                    </p>
                    <div class="qa-detail__invent">
                        <div class="row">
                            <div class="col-md-6 qa-detail__invent-item">
                                <img src="https://sfault-avatar.b0.upaiyun.com/306/449/3064496925-5668f2e9c4f25_small">
                                <div class="qa-detail__invent-info">
                                    <a class="qa-detail__invent-name" target="_blank" href="/u/yangxiangming">
                                        yangxiangming
                                    </a>
                                    <span class="qa-detail__invent-desc">
                                        git 标签下有 16 个回答
                                    </span>
                                </div>
                                <button class="btn btn-default btn-xs
                                qa-detail__invent-btn
                                " data-id="1030000004125225" data-slug="yangxiangming">
                                    邀请回答
                                </button>
                            </div>
                            <div class="col-md-6 qa-detail__invent-item">
                                <img src="https://sfault-avatar.b0.upaiyun.com/729/444/729444579-5722196d267c7_small">
                                <div class="qa-detail__invent-info">
                                    <a class="qa-detail__invent-name" target="_blank" href="/u/s1ngs1ng">
                                        S1ngS1ng
                                    </a>
                                    <span class="qa-detail__invent-desc">
                                        git 标签下有 3 个回答
                                    </span>
                                </div>
                                <button class="btn btn-default btn-xs
                                qa-detail__invent-btn
                                " data-id="1030000005002656" data-slug="s1ngs1ng">
                                    邀请回答
                                </button>
                            </div>
                            <div class="col-md-6 qa-detail__invent-item">
                                <img src="https://sfault-avatar.b0.upaiyun.com/120/260/1202606141-1030000000585904_small">
                                <div class="qa-detail__invent-info">
                                    <a class="qa-detail__invent-name" target="_blank" href="/u/leftstick">
                                        leftstick
                                    </a>
                                    <span class="qa-detail__invent-desc">
                                        git 标签下有 15 个回答
                                    </span>
                                </div>
                                <button class="btn btn-default btn-xs
                                qa-detail__invent-btn
                                " data-id="1030000000585904" data-slug="leftstick">
                                    邀请回答
                                </button>
                            </div>
                            <div class="col-md-6 qa-detail__invent-item">
                                <img src="https://sfault-avatar.b0.upaiyun.com/168/621/1686214816-574f7dce038ea_small">
                                <div class="qa-detail__invent-info">
                                    <a class="qa-detail__invent-name" target="_blank" href="/u/freya0608">
                                        Freya0608
                                    </a>
                                    <span class="qa-detail__invent-desc">
                                        git 标签下有 8 个回答
                                    </span>
                                </div>
                                <button class="btn btn-default btn-xs
                                qa-detail__invent-btn
                                " data-id="1030000004504401" data-slug="freya0608">
                                    邀请回答
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- /.main -->
            <div class="col-xs-12 col-md-3 side">
                <div class="sfad-sidebar">
                    <div class="sfad-item">
                        <ins>
                            <div id="beacon_2ab9a731f6" style="position: absolute; left: 0px; top: 0px; visibility: hidden;">
                                <img src="https://sponsor.segmentfault.com/lg.php?bannerid=0&amp;campaignid=0&amp;zoneid=1&amp;loc=https%3A%2F%2Fsegmentfault.com%2Fq%2F1010000005841516&amp;referer=https%3A%2F%2Fsegmentfault.com%2Fq%2F1010000005841516&amp;cb=2ab9a731f6"
                                width="0" height="0" alt="" style="width: 0px; height: 0px;">
                            </div>
                        </ins>
                        <button class="close" type="button" aria-hidden="true">
                            ×
                        </button>
                    </div>
                </div>
                <div data-type="widget" data-api="/api/bookmarkArchive/hots" data-api-overwrite="/api/bookmarkArchive/1010000005841516/related">
                    <script type="text/template">
                        < div class = "widget-box widget-box--bookmark no-border" > <h4 class = "widget-box__title" > 相关收藏夹 < a id = "widgetBookmarkRefresh"class = "userstab pull-right"href = "javascript:;" > 换一组 < /a></h4 > <ul class = "widget-links list-unstyled media" > <%_.each(data,
                        function(d) { % ><li class = "widget-links__item" > <img class = "pull-left pattern pattern-<%= d.id%19 %> mr10"src = "https://sf-static.b0.upaiyun.com/v-5773827a/global/img/pattern/<%= d.id%10 ? d.id%10 : 10 %>.svg"width = "32" > <div class = "media-body" > <a target = "_blank"class = "ellipsis mr0"href = "<%- d.url %>" > <%=d.name % ></a>
                            <p class="mb0">
                                <span><%- d.num %></span > 个条目 < span class = "division" > |</span> <span><%- d.followers %></span > 人关注 < /p>
                        </div > </li>
                    <% }) %>
                </ul > </div>
        /
                    </script>
                    <div class="widget-box widget-box--bookmark no-border">
                        <h4 class="widget-box__title">
                            相关收藏夹
                            <a id="widgetBookmarkRefresh" class="userstab pull-right" href="javascript:;">
                                换一组
                            </a>
                        </h4>
                        <ul class="widget-links list-unstyled media">
                            <li class="widget-links__item">
                                <img class="pull-left pattern pattern-13 mr10" src="https://sf-static.b0.upaiyun.com/v-5773827a/global/img/pattern/2.svg"
                                width="32">
                                <div class="media-body">
                                    <a target="_blank" class="ellipsis mr0" href="/bookmark/1230000003640372">
                                        github
                                    </a>
                                    <p class="mb0">
                                        <span>
                                            7
                                        </span>
                                        个条目
                                        <span class="division">
                                            |
                                        </span>
                                        <span>
                                            0
                                        </span>
                                        人关注
                                    </p>
                                </div>
                            </li>
                            <li class="widget-links__item">
                                <img class="pull-left pattern pattern-12 mr10" src="https://sf-static.b0.upaiyun.com/v-5773827a/global/img/pattern/2.svg"
                                width="32">
                                <div class="media-body">
                                    <a target="_blank" class="ellipsis mr0" href="/bookmark/1230000003102652">
                                        Git &amp; GitHub 不完全指南
                                    </a>
                                    <p class="mb0">
                                        <span>
                                            26
                                        </span>
                                        个条目
                                        <span class="division">
                                            |
                                        </span>
                                        <span>
                                            39
                                        </span>
                                        人关注
                                    </p>
                                </div>
                            </li>
                            <li class="widget-links__item">
                                <img class="pull-left pattern pattern-5 mr10" src="https://sf-static.b0.upaiyun.com/v-5773827a/global/img/pattern/2.svg"
                                width="32">
                                <div class="media-body">
                                    <a target="_blank" class="ellipsis mr0" href="/bookmark/1230000002890092">
                                        linux
                                    </a>
                                    <p class="mb0">
                                        <span>
                                            4
                                        </span>
                                        个条目
                                        <span class="division">
                                            |
                                        </span>
                                        <span>
                                            0
                                        </span>
                                        人关注
                                    </p>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="widget-box no-border">
                    <h2 class="h4 widget-box__title">
                        相似问题
                    </h2>
                    <ul class="widget-links list-unstyled">
                        <li class="widget-links__item">
                            <a title="git 包含git子文件夹怎么push？？" href="/q/1010000004197196">
                                git 包含git子文件夹怎么push？？
                            </a>
                            <small class="text-muted">
                                3 回答
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git 仓库新建文件git status 没有提示变动" href="/q/1010000004366643">
                                git 仓库新建文件git status 没有提示变动
                            </a>
                            <small class="text-muted">
                                2 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git不能添加文件" href="/q/1010000004659493">
                                git不能添加文件
                            </a>
                            <small class="text-muted">
                                6 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git 忽略文件" href="/q/1010000005141382">
                                git 忽略文件
                            </a>
                            <small class="text-muted">
                                6 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="使用git如何批量对文件进行rm操作" href="/q/1010000000095373">
                                使用git如何批量对文件进行rm操作
                            </a>
                            <small class="text-muted">
                                5 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="如何使用git删除所有.swo文件" href="/q/1010000005742364">
                                如何使用git删除所有.swo文件
                            </a>
                            <small class="text-muted">
                                3 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git如何获得两个文件夹文件的差异" href="/q/1010000003694329">
                                git如何获得两个文件夹文件的差异
                            </a>
                            <small class="text-muted">
                                1 回答
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git中 如何为每个文件单独添加注释 再提交" href="/q/1010000000736024">
                                git中 如何为每个文件单独添加注释 再提交
                            </a>
                            <small class="text-muted">
                                3 回答
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git远程仓库中看不到本地push的文件？" href="/q/1010000002549403">
                                git远程仓库中看不到本地push的文件？
                            </a>
                            <small class="text-muted">
                                2 回答 | 已解决
                            </small>
                        </li>
                        <li class="widget-links__item">
                            <a title="git在其他文件夹建立仓库?" href="/q/1010000005812286">
                                git在其他文件夹建立仓库?
                            </a>
                            <small class="text-muted">
                                4 回答
                            </small>
                        </li>
                    </ul>
                </div>
                <div class="widget-share__full" data-text="Git 想要忽略文件夹，但不忽略某个文件，设置规则无效，请问怎么回事"
                data-url="https://segmentfault.com/q/1010000005841516?share_user=1030000005735727"
                data-shorturl="http://sfau.lt/bNyFOa">
                    <div style="margin-bottom:10px;">
                        分享扩散：
                    </div>
                    <div class="widget-share-network sharer-0" style="display: block;">
                        <ul class="sn-inline">
                            <li data-network="weibo">
                                <a href="javascript:void(0);" class="entypo-weibo icon-sn-weibo share-1"
                                data-toggle="tooltip" data-placement="top" title="" data-original-title="分享至新浪微博">
                                    新浪微博
                                </a>
                            </li>
                            <li data-network="wechart">
                                <a href="javascript:void(0);" class="entypo-wechart icon-sn-weixin share-2"
                                data-toggle="tooltip" data-placement="top" title="" data-original-title="分享至微信">
                                    微信
                                </a>
                            </li>
                            <li data-network="twitter">
                                <a href="javascript:void(0);" class="entypo-twitter icon-sn-twitter share-3"
                                data-toggle="tooltip" data-placement="top" title="" data-original-title="分享至 Twitter">
                                    Twitter
                                </a>
                            </li>
                            <li data-network="facebook">
                                <a href="javascript:void(0);" class="entypo-facebook icon-sn-facebook share-4"
                                data-toggle="tooltip" data-placement="top" title="" data-original-title="分享至 Facebook">
                                    Facebook
                                </a>
                            </li>
                        </ul>
                    </div>
                    <a type="button" class="btn btn-sm shareMore btn-sn-more" data-toggle="popover"
                    data-placement="top" data-url="https://segmentfault.com/q/1010000005841516?share_user=1030000005735727"
                    data-shorturl="http://sfau.lt/bNyFOa">
                        <span class="icon-sn-dotted" data-original-title="" title="">
                        </span>
                        <strong class="visible-xs-inline">
                            •••
                        </strong>
                    </a>
                </div>
            </div>
            <!-- /.side -->
        </div>
    </div>
</div>